/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package east2west.dto;

import java.io.Serializable;

/**
 *
 * @author TUNGTRUM
 */
public class CarOrderDTO implements Serializable {
private int orderId;
private int custId;
private String orderDate;
private float amount;
private byte isDeleted;
private CarOrderDetailDTO orderDetail;
private CustomerDTO cusDTO;
    public CarOrderDTO() {
    }

    public CarOrderDTO(int orderId, int custId, String orderDate, float amount, byte isDeleted) {
        this.orderId = orderId;
        this.custId = custId;
        this.orderDate = orderDate;
        this.amount = amount;
        this.isDeleted = isDeleted;

    }

    /**
     * @return the orderId
     */
    public int getOrderId() {
        return orderId;
    }

    /**
     * @param orderId the orderId to set
     */
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    /**
     * @return the custId
     */
    public int getCustId() {
        return custId;
    }

    /**
     * @param custId the custId to set
     */
    public void setCustId(int custId) {
        this.custId = custId;
    }

    /**
     * @return the orderDate
     */
    public String getOrderDate() {
        return orderDate;
    }

    /**
     * @param orderDate the orderDate to set
     */
    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    /**
     * @return the amount
     */
    public float getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(float amount) {
        this.amount = amount;
    }

    /**
     * @return the isDeleted
     */
    public byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * @param isDeleted the isDeleted to set
     */
    public void setIsDeleted(byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * @return the orderDetail
     */
    public CarOrderDetailDTO getOrderDetail() {
        return orderDetail;
    }

    /**
     * @param orderDetail the orderDetail to set
     */
    public void setOrderDetail(CarOrderDetailDTO orderDetail) {
        this.orderDetail = orderDetail;
    }

    /**
     * @return the cusDTO
     */
    public CustomerDTO getCusDTO() {
        return cusDTO;
    }

    /**
     * @param cusDTO the cusDTO to set
     */
    public void setCusDTO(CustomerDTO cusDTO) {
        this.cusDTO = cusDTO;
    }
    

}
